package cn.lingyangwl.agile.misc.short_link.assembly;

import cn.lingyangwl.agile.misc.short_link.model.entity.*;
import cn.lingyangwl.agile.misc.short_link.model.rqrs.*;
import org.mapstruct.Mapper;

/**
 * 短链
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface ShortLinkAssembly {
    ShortLink toPo(ShortLinkSaveReq source);
    ShortLink toPo(ShortLinkUpdateReq source);
    ShortLinkDto toDto(ShortLink source);
}
